<!doctype html>
<html>
<head>
 <meta charset="UTF-8"/>
 <meta name="renderer" content="webkit"/>
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="format-detection" content="telephone=no">
 <title>创建</title>
<link href="../../css/global.css" rel="stylesheet" type="text/css">
</head>

<body>
  <div class="whiteboard"></div>
  <!--栏目列表-->
  <div class="left_menu">
    <div class="sub"> </div>
  </div>
  <!--/栏目列表-->
  <div class="right_con">
    <div class="card">
      <div class="title"><span>创建</span>
        <div class="cfr">
          <div class="tico full"><i class="iconfont icon-quanping"></i> </div>
        </div>
      </div>
      <div class="tipbox"> </div>
      <div class="infoBox">
        <div class="boxs"> 
          <!--基本信息-->
          <div class="box">
            <div class="form" id="form" ly-get="{{apiUrl}}/menu/selectMenuById">
              <div class="row" gutter="10">     
                <div class="label">当前状态：</div>
                <div class="col-7">
                  <div id="isUsing" name="isUsing" ly-bind="isUsing"></div>
                </div>
              </div>
              <div class="row" gutter="10">     
                <div class="label">菜单层级：</div>
                <div class="col-7 text">
                  <div id="level" name="level" ly-bind="level" ly-type="text"></div>
                </div>
              </div>
              <div class="row" gutter="10">     
                <div class="label">菜单CODE：</div>
                <div class="col-7 text">
                  <div id="menuCode" name="code" ly-bind="menuCode" ly-type="text"></div>
                </div>
              </div>
            <div class="row" gutter="10">
              <div class="label"><em>*</em>菜单标题：</div>
              <div class="col-7">
                <input type="text" id="menuName" class="ipt required" placeholder="请输入菜单标题" data-tip="请输入菜单标题" data-valid="isNonEmpty||maxLength:20" data-error="菜单标题不能为空||菜单标题长度最大为20位" ly-bind="menuName">
              </div>
            </div>
            <div class="row" gutter="10">
              <div class="label">菜单URL：</div>
              <div class="col-7">
                <input type="text" id="url" ly-bind="url" class="ipt" placeholder="请输入菜单URL" >
              </div>
            </div>
            <div class="row" gutter="10">
              <div class="label">菜单图标：</div>
              <div class="col-7">
               <input type="icon" id="icon" ly-bind="icon"/>
             </div>
           </div>
            <div class="row" gutter="10">
              <div class="label">显示顺序：</div>
              <div class="col-7">
                <input type="text" ly-bind="nodeOrder" class="required ipt" placeholder="请输入排序" data-tip="请输入排序" data-valid="positiveInt||between:0-6" data-error="排序应为正整数||排序长度为0~6字符">
              </div>
            </div>
        </div>
      </div>
      <div class="btnBox">
        <div class="fr">
          <button class="btn red save-btn hide" id="save-next-btn" data-type="1" type="button">保存并新增</button>
          <button class="btn red save-btn" id="save_btn"  data-type="0">保存</button>
          <button class="btn" onclick="javascript:window.history.go(-1);">返回</button>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
</body>
<script id="jquery_js" src="../../js/jquery-1.11.1.min.js"></script> 
<script id="config_js" src="../../js/config.js"></script> 
<script id="ly_main_js" src="../../js/ly_main.js"></script> 
<script id="valid" src="../../js/jquery-validate.js"></script>
<script src="../../js/common.js"></script> 
<script type="text/javascript" src="../../js/ourJs/menu/add-menu.js"></script>
<script type="text/javascript" src="../../js/ourJs/menu/shuxing.js"></script>
</html>
